package name.as3.cmdFrameworks.manager
{
import flash.utils.SafeGlobalOwner;
import flash.utils.SafeGlobalProxy;

import name.as3.cmdFrameworks.interfaces.IDelegate;
import name.as3.cmdFrameworks.interfaces.IFacade;
import name.as3.cmdFrameworks.interfaces.IManager;

public class AbstractManager extends SafeGlobalOwner implements IManager
{
	private var m_delegate:IDelegate;
	private var m_facade:IFacade;
	/**
	 *
	 */
	public function AbstractManager()
	{
	}
//==================================================================================================
// public
//==================================================================================================
	public function setFacade(value:IFacade, proxyGlobal:SafeGlobalProxy):void
	{
		m_facade = value;
		super.sg = proxyGlobal;
	}
	/**
	 * 获取表面
	 */
	public function get facade():IFacade
	{
		return m_facade;
	}
	/**
	 *
	 */
	public function set delegate(value:IDelegate):void
	{
		m_delegate = value;
	}
	/**
	 * 获取代理
	 */
	public function get delegate():IDelegate
	{
		return m_delegate;
	}
}
}